﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="生成树的方法DataTable.aspx.cs" Inherits="数据访问控件_生成树的方法DataTable" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Untitled Page</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
                       <asp:ObjectDataSource ID="ObjectDataSource1" runat="server" 
                           OldValuesParameterFormatString="original_{0}" SelectCountMethod="PageCount" 
                           SelectMethod="TreeTable" TypeName="Tong.TongTreeDataTable">
                           <SelectParameters>
                               <asp:parameter DefaultValue="CX_Column" Name="TableName" Type="String" />
                               <asp:parameter DefaultValue="CX_Column_id" Name="MainIDColumn" Type="String" />
                               <asp:parameter DefaultValue="CX_Column_ID" Name="ValueColumn" Type="String" />
                               <asp:parameter DefaultValue="CX_Column_Name" Name="Name" Type="String" />
                               <asp:parameter DefaultValue="CX_Column_followid" Name="ParentID" 
                                   Type="String" />
                           </SelectParameters>
                       </asp:ObjectDataSource>
    </div>
    <asp:GridView ID="GridView1" runat="server" 
        DataSourceID="ObjectDataSource1" DataKeyNames="Value">
    </asp:GridView>
    </form>
    <script>
    
    </script>
</body>
</html>
